package com.xishu.entity.shop;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class TimeConfig implements Serializable {
    private static final long serialVersionUID = 1766839105577748867L;

    @ApiModelProperty(value = "开始时间,格式是HH:mm")
    private String startTime;

    @ApiModelProperty(value = "结束时间,格式是HH:mm")
    private String endTime;

    public TimeConfig() {
    }

    public TimeConfig(String startTime, String endTime) {
        this.startTime = startTime;
        this.endTime = endTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("TimeConfig{");
        sb.append("startTime='").append(startTime).append('\'');
        sb.append(", endTime='").append(endTime).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
